package com.dream.banana.notify.support;

import org.aopalliance.aop.Advice;
import org.springframework.amqp.core.AmqpTemplate;
import org.springframework.amqp.rabbit.connection.ConnectionFactory;
import org.springframework.amqp.rabbit.core.RabbitAdmin;
import org.springframework.amqp.support.converter.MessageConverter;
import org.springframework.retry.support.RetryTemplate;

/**
 * 躲了一辈子雨，雨会不会很难过。
 * </p>
 * Created by zhumenglong on 2017/5/28.
 */
public interface INotifyConfigSupport {
    ConnectionFactory getConnectionFactory();

    RabbitAdmin getRabbitAdmin();

    AmqpTemplate getAmqpTemplate();

    MessageConverter getDefaultMessageConverter();

    RetryTemplate getDefaultRetryTemplate();

    Advice getDefaultAdvice();
}
